package org.example.auth.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 三方登录对象
 *
 */

@Data
@EqualsAndHashCode(callSuper=false)
public class EmailLoginBody extends BaseLoginBody  {

    /**
     * 邮箱
     */
    @NotBlank(message = "邮箱不能为空")
    private String email;

}
